for name in Alfred Aliwangwang BaiduNetdiskmac BalsamiqMockups Docker ForeScoutSecureConnector Foxmail GoogleChrome IINA IntelliJIDEA Kindle MagicanRest Maipo MindNode NemuPlayer NeteaseMusic OmniGraffle PDFExpert ParallelsDesktop Postman PulseSecure QQ QQLive QQMacMgr QQMusic RemoteDesktop ScrollReverser ShadowsocksXNGR SlowQuitApps Spectacle StarUML SwitchHosts! TeamViewer TheUnarchiver Thunder Typora UniBeast Vanilla VisualStudioCodeInsiders WeChat XMindZEN balenaEtcher calibre ePUBee iTools iAWriter iTerm uTorrent wpsoffice 优酷 爱奇艺 爱奇艺之家热聊
do
    echo "test this app: "$name
    brew search $name > result$name.text
    sleep 2
done